function[] = paint4
close all;
figure(1);
IMBO=load('data1-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data1-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
%set(gca,'looseInset',get(gca,'TightInset'));
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(1),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(2);
IMBO=load('data2-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data2-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(2),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(3);
IMBO=load('data3-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data3-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(3),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(4);
IMBO=load('data4-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data4-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(4),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(5);
IMBO=load('data5-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data5-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(5),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(6);
IMBO=load('data6-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data6-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(6),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(7);
IMBO=load('data7-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data7-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(7),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(8);
IMBO=load('data8-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data8-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(8),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(9);
IMBO=load('data9-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data9-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);;
legend('IMBO','GA');
annotation(figure(9),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(10);
IMBO=load('data10-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data10-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(10),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(11);
IMBO=load('data11-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data11-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(11),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(12);
IMBO=load('data12-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data12-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(12),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(13);
IMBO=load('data13-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data13-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(13),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(14);
IMBO=load('data14-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data14-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(14),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);

figure(15);
IMBO=load('data15-1.txt');
x=IMBO(:,6);y=IMBO(:,7);z=IMBO(:,8);v=IMBO(:,9);
scatter3(x,y,z,35,'filled','cdata',v);
zlabel({'Overall load'});ylabel({'All energy consumption'});xlabel({'Makespan'});
colorbar;
hold on
GA=load('data15-2.txt');
x1=GA(:,6);y1=GA(:,7);z1=GA(:,8);v1=GA(:,9);
scatter3(x1,y1,z1,45,'cdata',v1);
set(gca,'looseInset',[0 0 0 0]);
legend('IMBO','GA');
annotation(figure(15),'textbox',...
    [0.7578125 0.0277777777777778 0.3046875 0.0972222222222221],...
    'String',{'Bottleneck load'},...
    'FontSize',8,...
    'FontName','times new roman',...
    'FitBoxToText','off',...
    'EdgeColor',[1 1 1]);